/*
 *  Copyright 2011 Alexey Andreev.
 * 
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0
 * 
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *  under the License.
 */
package org.xthl.wiki.api;

import java.util.Date;

/**
 *
 * @author Alexey Andreev
 */
public class Article {
    private int id;
    private int lastRevisionId;
    private int lastRevisionNumber;
    private Integer lastPublishedRevisionId;
    private Date creationDate;
    private Date publicationDate;
    private String title;
    private boolean deleted;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLastRevisionId() {
        return lastRevisionId;
    }

    public void setLastRevisionId(int lastRevisionId) {
        this.lastRevisionId = lastRevisionId;
    }

    public int getLastRevisionNumber() {
        return lastRevisionNumber;
    }

    public void setLastRevisionNumber(int lastRevisionNumber) {
        this.lastRevisionNumber = lastRevisionNumber;
    }

    public Integer getLastPublishedRevisionId() {
        return lastPublishedRevisionId;
    }

    public void setLastPublishedRevisionId(Integer lastPublishedRevisionId) {
        this.lastPublishedRevisionId = lastPublishedRevisionId;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Date getPublicationDate() {
        return publicationDate;
    }

    public void setPublicationDate(Date publicationDate) {
        this.publicationDate = publicationDate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
